using System.Xml;

namespace Aggregator
{
	public interface IAggregate
	{
        void AddMessage(XmlDocument message);
        bool IsComplete();
        XmlDocument GetResultMessage();
    }

    public interface IAggregateFactory
    {
        IAggregate NewAggregate();
    }
}
